package com.ipfsemc.ipfsemc.service.imp;

import com.ipfsemc.ipfsemc.mapper.LevelMapper;
import com.ipfsemc.ipfsemc.model.Level;
import com.ipfsemc.ipfsemc.service.ILevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LevelServiceImpl implements ILevelService {
    @Autowired
    private LevelMapper levelMapper;

    /**
     * 根据UserId查找用户级别
     * @param level
     * @return
     */
    @Override
    public Level selectLeveByUser(Level level) {

        //此levelId非彼levelId   实际上要传的是UserId
//        return levelMapper.selectByUserId(level.getLevelId());
        return null;
    }



}
